package com.bestcem.xm.cjm.controller.vo;

import com.bestcem.xm.cjm.entity.CjmPackage;
import com.bestcem.xm.cjm.entity.CjmUserclientjourney;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ClientJourneyVo {
    private String id;

    @JsonProperty("user_id")
    private String userId;

    @JsonProperty("parent_id")
    private String parentId;

    private String name;

    @JsonProperty("display_name")
    private String displayName;

    @JsonProperty("real_name")
    private String realName;

    private String description;

    @JsonProperty("publisher_name")
    private String publisherName;

    @JsonProperty("package")
    private CjmPackage cjmPackage;

    @JsonProperty("user_cjm")
    private CjmUserclientjourney userclientjourney;

    @JsonProperty("updated_dt")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updatedDt;
}